﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YetAnotherChat.ChatCore.Models;

namespace YetAnotherChat.ChatCore.Interfaces
{
    public interface IChatMessagePersistenceService
    {
        void SaveMessages(ChatMessage[] message);
        void Start();
        void Stop();
        bool IsRunning { get; }
        event EventHandler Started;
        event EventHandler Stopped;
    }
}
